home *** CD-ROM | disk | FTP | other *** search
/ Aminet 41 / Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso / Aminet / util / cli / SED.readme < prev    next >
Text File  |  2001-01-02  |  7KB  |  173 lines

  1. Short:    Amiga stream editor
  2. Author:   thor@math.tu-berlin.de (Thomas Richter)
  3. Uploader: thor@math.tu-berlin.de (Thomas Richter)
  4. Version:  40.3
  5. Type:     util/cli
  6. Requires: AmigaOs 3.0 or better
  7.  
  8. ______________________________________________________________________________
  9.  
  10. Purpose of this program:
  11.  
  12.     SED takes an input file, checks each line of this file against a
  13.     pattern supplied on the command line, and generates a new line from
  14.     this pattern match in the destination. This could either mean that
  15.     the matching line is removed completely from the output, replaced
  16.     by a different line, or changed according to the specifications of
  17.     SED.
  18.     
  19.     SED is an approximation of the Unix "stream editor" sed. It is not
  20.     quite as powerful as sed because its command set is currently very
  21.     limited, and it does not support command files. Its pattern syntax
  22.     is different, too. It still looks like "line noise" to me - I didn't
  23.     want to break with this tradition - but it's at least the Amiga kind
  24.     of line noise.
  25.  
  26.     Its pattern matching rules are a superset of the AmigaOs patterns,
  27.     with some additional features like "captured expressions" and more
  28.     powerful "character classes" and "escaping".
  29.  
  30.     SED is useful for automatic processing of text files, e.g. the modi-
  31.     fication of the startup-sequence. SED can also be run as a "filter"
  32.     in which case it reads its input from stdin and prints output to
  33.     stdout. Combine this feature with pipes and you get a very powerful
  34.     text processing tool.
  35.  
  36.     A warning: Pattern matching looks simple, but is full of hard to gasp
  37.     traps. This tool is therefore thought to be for "expert usage". In 
  38.     case you think SED doesn't process your pattern correctly, think
  39.     twice!
  40.  
  41.     For further details, please read the SED.doc.
  42. ______________________________________________________________________________
  43.  
  44. Release 40.3:
  45.  
  46.     VERBOSE prints now also file name and line number information
  47.     such that SED can be used as a "Search" (or "grep") replacement.
  48. ______________________________________________________________________________
  49.  
  50. Release 40.2:
  51.  
  52.     Due to an oversight, the character ranges [..-..] were broken.
  53.     Fixed.
  54.     Handling of (..|..) "or-operator" was broken. Fixed.
  55.     Escaping with \ could leave bogus patterns in the pattern stream
  56.     and could have caused non-justified "invalid template" errors.
  57.     Fixed.
  58.  
  59. ______________________________________________________________________________
  60.  
  61. Release 40.1:
  62.  
  63.     The former release used memory pools, but did not check correctly
  64.     whether the corresponding exec functions are available. Required
  65.     and requires Kickstart 3.0.
  66.     Could have forgotten to return "ERROR_NO_FREE_STORE" for some
  67.     out of memory error conditions.
  68.  
  69. ______________________________________________________________________________
  70.  
  71. Release 40.0:
  72.  
  73.     This is the first Aminet release. This is a 40.0 release because
  74.     pattern matching is a very complex buisiness and even though I tested
  75.     this release quite good, I wouldn't be astonished if some flaws still
  76.     remained. Pattern matching logic is astonishing sometimes, so please
  77.     check the documentation first before reporting any "obvious" bugs. The
  78.     obvious bugs should be gone already!
  79.  
  80. ______________________________________________________________________________
  81.  
  82.                          The THOR-Software Licence (v2, 24th June 1998)
  83.  
  84.  
  85. This License applies to the computer programs known as "SED". The "Program", 
  86. below, refers to such program. The "Archive" refers to the package of 
  87. distribution, as prepared by the author of the Program, Thomas Richter. 
  88. Each licensee is addressed as "you".
  89.  
  90.  
  91.  
  92. The Program and the data in the archive are freely distributable
  93. under the restrictions stated below, but are also Copyright (c)
  94. Thomas Richter.
  95.  
  96. Distribution of the Program, the Archive and the data in the Archive by a
  97. commercial organization without written permission from the author to any
  98. third party is prohibited if any payment is made in connection with such
  99. distribution, whether directly (as in payment for a copy of the Program) or
  100. indirectly (as in payment for some service related to the Program, or
  101. payment for some product or service that includes a copy of the Program
  102. "without charge"; these are only examples, and not an exhaustive enumeration
  103. of prohibited activities).
  104.  
  105.  
  106. However, the following methods of distribution
  107. involving payment shall not in and of themselves be a violation of this
  108. restriction:
  109.  
  110.  
  111. (i) Posting the Program on a public access information storage and
  112. retrieval service for which a fee is received for retrieving information
  113. (such as an on-line service), provided that the fee is not
  114. content-dependent (i.e., the fee would be the same for retrieving the same
  115. volume of information consisting of random data).
  116.  
  117.  
  118. (ii) Distributing the Program on a CD-ROM, provided that
  119.  
  120. a) the Archive is reproduced entirely and verbatim on such CD-ROM, including
  121. especially this licence agreement;
  122.  
  123. b) the CD-ROM is made available to the public for a nominal fee only,
  124.  
  125. c) a copy of the CD is made available to the author for free except for
  126. shipment costs, and
  127.  
  128. d) provided further that all information on such CD-ROM is redistributable
  129. for non-commercial purposes without charge.
  130.  
  131.  
  132. Redistribution of a modified version of the Archive, the Program or the
  133. contents of the Archive is prohibited in any way, by any organization,
  134. regardless whether commercial or non-commercial. Everything must be kept
  135. together, in original and unmodified form.
  136.  
  137.  
  138.  
  139.  
  140. Limitations.
  141.  
  142.  
  143. THE PROGRAM IS PROVIDED TO YOU "AS IS", WITHOUT WARRANTY. THERE IS NO
  144. WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
  145. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  146. PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
  147. RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
  148. THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  149. SERVICING, REPAIR OR CORRECTION.
  150.  
  151.  
  152. IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE THE PROGRAM, THE ARCHIVE
  153. AND ALL DATA OF THIS ARCHIVE FROM YOUR STORAGE SYSTEM. YOU ACCEPT THIS
  154. LICENCE BY USING OR REDISTRIBUTING THE PROGRAM.
  155.  
  156.  
  157.                                                         Thomas Richter
  158. ______________________________________________________________________________
  159.  
  160. Thomas Richter,
  161.                 December 2000
  162.  
  163.  
  164. ============================= Archive contents =============================
  165.  
  166. Original  Packed Ratio    Date     Time    Name
  167. -------- ------- ----- --------- --------  -------------
  168.     6544    4195 35.8% 09-Dec-00 12:36:04 +SED
  169.    18534    6789 63.3% 09-Dec-00 12:55:34 +SED.doc
  170.     6321    2811 55.5% 09-Dec-00 12:37:30 +SED.readme
  171. -------- ------- ----- --------- --------
  172.    31399   13795 56.0% 12-Dec-100 08:16:10   3 files
  173.